<template>
  <div class="footer">
    <span>{{ zhuban }}</span>
    <div class="">
      <span><a class="records" :href="beian2a">{{beian2}}</a></span>
      <span><a :href="beiana">{{beian}}</a></span>
    </div>
  </div>
</template>

<script>
import { getName } from '@/utils/index.js'
export default {
  data() {
    return {
      // 主办
      zhuban: '',
      beian: '',
      beiana: '',
      beian2: '',
      beian2a: '',
    }
  },
  created() {
    // 获取标题名字
    getName().then((res) => {
      this.zhuban = res.data.zhuban
      this.beian = res.data.beian
      this.beiana = res.data.beiana
      this.beian2 = res.data.beian2
      this.beian2a = res.data.beian2a
    })
  },
  methods: {},
}
</script>

<style lang="scss" scoped>
.footer {
  font-size: 15px;
  text-align: center;
  color: #333;
  font-weight: 600;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  span:nth-child(2) {
    margin-left: 20px;
  }
  .records {
    background-image: url(../assets/icon-beian.png);
    background-repeat: no-repeat;
    padding-left: 25px;
  }
  div {
    margin-top: 2px;
  }
  a {
    height: 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: auto;
  }
  a:hover {
    text-decoration: underline;
  }
}

</style>